import { createStore, combineReducers, applyMiddleware } from 'redux';
import thunk from 'redux-thunk';
import common from './common/index'
import authority from './authority/index'

const store = createStore(
  combineReducers({
    common,
    authority,
  }),
  applyMiddleware(thunk),
)
export default store;
